package com.demo.repository;

import com.demo.entity.Product;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by lenovo on 2017/6/21.
 */
public interface ProductRepo extends PagingAndSortingRepository<Product, Integer> {
    List<Product> findByName(String name);


}
